package com.ddl.dao;

import com.ddl.pojo.UserField;

import java.util.List;

public interface UserFieldMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserField record);

    int insertSelective(UserField record);

    UserField selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserField record);

    int updateByPrimaryKey(UserField record);

    List<UserField> selectByRecord(UserField record);
    //金币减一
    int updateGoldById(Integer id);
}